package com.shanks.home.util;

public class NetUtil {
	//获取无符号数
	public static int shortToUnsignedInt(short value) {
		int result = value;
		if (value < 0)
			result = 0xffff + value + 1;

		return result;
	}
}